import Request from '@/axios/request'

export function getGameGameGroups(params) {
  return Request.get('game/gameGroups', { params })
}

export function createGameGameGroup() {
  return Request.get('game/gameGroups/create')
}

export function storeGameGameGroup(data) {
  return Request.post('game/gameGroups', data)
}

export function updateGameGameGroup(id, data) {
  return Request.put(`game/gameGroups/${id}`, data)
}

export function editGameGameGroup(id) {
  return Request.get(`game/gameGroups/${id}/edit`)
}

export function destroyGameGameGroup(id) {
  return Request.delete(`game/gameGroups/${id}`)
}


